package cn.wusifx.zabbix.response;

import com.google.gson.Gson;
import feign.Response;
import feign.gson.GsonDecoder;

import java.io.BufferedReader;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.InputStreamReader;
import java.lang.reflect.Type;
import java.nio.charset.StandardCharsets;
import java.util.stream.Collectors;

public class ResponseDecoder extends GsonDecoder {
    @Override
    public Object decode(Response response, Type type) throws IOException {
        return super.decode(response,type);
    }
}
